<?php
namespace Client\Controller;
use Think\Page;

use Think\Controller;
class EntertainmentController extends Controller {
	public function query(){
		$scenic = D("Scenic");
		$list = $scenic->where(array('status'=>1))->field("id,name,image,price,address")->select();
		if($list){
			$json['result'] = '0';
			$json['msg'] = '成功获取娱乐列表';
			$json['scenic'] = $list;
		}else{
			$json['result'] = '-1';
			$json['msg'] 	= '错误';
		}
		$this->ajaxReturn($json);
	}
	public function getEntertainment(){
		
	}
}
?>